package com.lin.service;

import com.lin.dao.ReportingMapper;
import com.lin.pojo.Reporting;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName ReportingServiceImpl
 * @Description 举报信息的逻辑处理
 * @Author LinZePeng
 * @Date 2021/5/3 13:50
 * @Version 1.0
 */
@Service
public class ReportingServiceImpl implements ReportingService{

	@Autowired
	private ReportingMapper reportingMapper;

	/**
	 * @Description 功能实现（查询所有举报信息）
	 * @Param []
	 * @return java.util.List<com.lin.pojo.Reporting>
	 */
	@Override
	public List<Reporting> queryReporting() {
		return reportingMapper.queryReporting();
	}
}
